use serde::{Serialize, Deserialize};

// JWT 声明
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Claims {
    pub user_id: u32,
    pub exp: usize,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct User {
    pub id: u32,
    pub no: String,
    pub name: String,
    pub dpid: u32,
    pub dpnm: String,
    pub pdid: u32,
}